Skip to main content

backspaceKey

Type

message

Summary

Sent to the active control, or to the current card if no control is focused.

Syntax

backspaceKey

Description

Handle the backspaceKey message if you want to do something special when the user presses the Backspace key.

The Backspace key is not the same as the Forward Delete key. On some keyboards, the Backspace key is labeled "Delete".

Examples

on backspaceKey -- in the script of a field
-- clear the whole field instead of removing one character:
put empty into me
end backspaceKey

glossary: current card, active control, focus

keyword: control

message: cutKey, deleteKey

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?